
package com.insigma.business.qrcode.merchant.dao;

import com.insigma.business.qrcode.merchant.entity.CareWelfareMerchantDiscountDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CareWelfareMerchantDiscountDao {

    

    
    CareWelfareMerchantDiscountDO get(final String id);

    
    Integer insert(final CareWelfareMerchantDiscountDO careWelfareMerchantDiscountDO);

    
    Integer update(final CareWelfareMerchantDiscountDO careWelfareMerchantDiscountDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    
    List<CareWelfareMerchantDiscountDO> listByMerchantId(String merchantId);

    
    Integer realDeleteByMerchantId(String merchantId);

    List<CareWelfareMerchantDiscountDO> listByEntryId(String entryId);
}
